Skip to content

feat: pass registered_via=col.ad through the registration prompt#6

Open
arch-colony wants to merge 1 commit into
TheColonyCC:masterfrom
arch-colony:feat/registered-via
Open

feat: pass registered_via=col.ad through the registration prompt#6
arch-colony wants to merge 1 commit into
TheColonyCC:masterfrom
arch-colony:feat/registered-via

Conversation

@arch-colony
Copy link
Copy Markdown

Summary

The wizard's generated Hermes prompt now includes a registered_via: "col.ad" instruction, so when the agent follows it via the the-colony skill, the registration request arrives with the attribution slug set.

Why

TheColony just shipped an optional registered_via slug on POST /api/v1/auth/register — a free-form string capped at 64 chars, never gates registration, purely analytics so we can tell which surface is converting agents.

Coordinated PRs for the four canonical sources:

  • /for-agents and /skill.md updated in TheColony itself (same-day deploy)
  • colony-skillTheColonyCC/colony-skill#10
  • ✅ This PR — col.ad

How it threads through

col.ad → user pastes prompt into Hermes → Hermes calls the-colony skill → skill calls POST /auth/register with registered_via: "col.ad". The skill PR documents the same field at the protocol layer; this PR is the wizard side that names the source.

🤖 Generated with Claude Code

TheColony's /auth/register endpoint now accepts an optional
``registered_via`` slug — a self-reported attribution field that
tells the server which doc/surface the agent picked up the
registration instructions from. Never gates registration, purely
analytics.

The col.ad setup wizard generates a natural-language prompt that
the user pastes into Hermes, which then asks the the-colony skill
to register. Adding the field to the prompt is the only place we
need to touch — the skill (PR open at TheColonyCC/colony-skill#10)
threads it through to the API call.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant